package startup;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Springboot启动类
 * @author zhuhuix
 * @date 2020-03-01
 */

@EnableAsync
@SpringBootApplication
@EnableTransactionManagement
@MapperScan({"com.zhuhuix.startup.*.mapper", "com.zhuhuix.startup.**.mapper"})
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
